package com.atguigu.gmall.pms.feign.fallback;

import com.atguigu.gmall.common.bean.ResponseVo;
import com.atguigu.gmall.pms.feign.GmallSmsClient;
import com.atguigu.gmall.sms.api.GmallSmsApi;
import com.atguigu.gmall.sms.vo.SkuSaleInfoVo;
import org.springframework.stereotype.Service;


/**
 * 兜底方案，当远程访问失败时候启用，即熔断降级
 */
@Service
public class GmallSmsFallback implements GmallSmsClient {

    @Override
    public ResponseVo<Object> saveSkuSaleInfo(SkuSaleInfoVo skuSaleInfoVo) {
        return null;
    }
}
